package com.veo.dao;

import com.veo.bean.User;

import java.util.List;

public interface UserDao {

    int delUser(int id);

    int updateUserById(User user);

    int addUser(User user);

    User findUserById(int id);

    List<User> findAllUsers();

    User findUserByNameAndPwd(String username,String pwd);
}
